﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Excel = Microsoft.Office.Interop.Excel;
using Scrt;
namespace ExcelAddIn2010
{
    public static class gValue
    {
        public const string MSG_TITLE = "鸟哥私人办公助理";
        /// <summary>
        /// 日期字符串格式
        /// </summary>
        public const string STR_DATE_TIME_FORMAT = "yyyy-M-dd";
        /// <summary>
        /// 配置文件名称
        /// </summary>
        public const string SFT_CFG_FILE_NAME = "cfg.ini";
        /// <summary>
        /// 配置
        /// </summary>
        public const string SFT_CFG = "CFG";
        /// <summary>
        /// 配置-日期
        /// </summary>
        public const string SFT_CFG_TODAY = "TODAY";
        /// <summary>
        /// 是否有新版本
        /// </summary>
        public const string SFT_CFG_HAS_NEW_VERSION = "HAS_NEW_VERSION";
        /// <summary>
        /// 下载地址
        /// </summary>
        public const string SFT_CFG_DOWNLOAD_URL = "DOWNLOAD_URL";

        /// <summary>
        /// 工作室名称
        /// </summary>
        public const string STUDIO_NAME = MSG_TITLE;

        public const string SOFT_INFO_URL = "http://my.oschina.net/raoqiangnihao/blog/659680";
        /// <summary>
        /// 购买宝贝的网址
        /// </summary>
        public const string URL_ITEM_PURCHASE = "https://item.taobao.com/item.htm?spm=686.1000925.0.0.4f2nrI&id=530394822608";
        public static string SftwareDownloadUrl = "";
        public static SoftNameDef SOFTWARE_NAME = SoftNameDef.RookieExcelAddIn;
        public static Excel.Application ExcelApp = null;
        public static SoftwareRegister softReg = new SoftwareRegister(gValue.SOFTWARE_NAME);

    }
}
